package com.pro.config;

import com.pro.service.RegisterClientService;
import com.pro.start.ServiceRenewal;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Copyright C 四川众鹏科技有限公司
 * All right reserved.  ACloudAutoConfiguration
 * 创建者：aoneng 2022/9/16
 * Description:
 * 备注   :
 * version:  V1.0
 * <author> - <version > - <time>  -    <desc>
 *
 * @author 敖能         V1.0       2022/9/16    完成基本功能
 */
@Configuration
public class ACloudAutoConfiguration {
    @Bean
    public ACloudConfig aCloudConfig(){
        return new ACloudConfig();
    }

    /**
     * 如何获取端口号
     */
    @Bean
    public ServerConfig serverConfig() {
        return new ServerConfig();
    }
    @Bean
    public RegisterClientService registerServiceS() {
        return new RegisterClientService();
    }

    /**
     * 服务续约
     * @return
     */
    @Bean
    public ServiceRenewal serviceRenewal() {
        return new ServiceRenewal();
    }

}
